package net.office.mapper;

import java.util.List;
import net.office.bean.BaseAttr;
import net.office.bean.BaseAttrExample;
import org.apache.ibatis.annotations.Param;

public interface BaseAttrMapper {
    long countByExample(BaseAttrExample example);

    int deleteByExample(BaseAttrExample example);

    int deleteByPrimaryKey(Integer attrId);

    int insert(BaseAttr record);

    int insertSelective(BaseAttr record);

    List<BaseAttr> selectByExample(BaseAttrExample example);

    BaseAttr selectByPrimaryKey(Integer attrId);

    int updateByExampleSelective(@Param("record") BaseAttr record, @Param("example") BaseAttrExample example);

    int updateByExample(@Param("record") BaseAttr record, @Param("example") BaseAttrExample example);

    int updateByPrimaryKeySelective(BaseAttr record);

    int updateByPrimaryKey(BaseAttr record);
}